package com.mrd.gtimp.message.service;

/**
 * Created by lenovo on 2016/9/23.
 */

import com.mrd.base.BaseBiz;
import com.mrd.gtimp.message.entity.Message;
import com.mrd.spring.repository.BaseRepository;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 业务逻辑层 站内信
 *
 * @author zyy
 */
@Service
public class MessageBiz extends BaseBiz<Message> {


    @Resource
    // 该处指定注入BaseRepository的dao对象
    @Qualifier("messageDao")
    public void setBaseRepository(BaseRepository<Message, String> baseRepository) {
        super.baseRepository = baseRepository;
    }
}
